package com.bosicloud.cmb.ibp.api.manager.dao;

import com.bosicloud.cmb.ibp.api.manager.commom.model.IbpApiAwsFailtMsg;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author Jack Peng / ziliang.peng@bosicloud.com
 */
public interface IbpApiAwsFailtMsgMapper extends Mapper<IbpApiAwsFailtMsg> {


    Integer insertIbpApiAwsFailtMsg(IbpApiAwsFailtMsg apiAwsFailtMsg);

    IbpApiAwsFailtMsg searchFailMsg(@Param("apiId") Integer apiId,
                                    @Param("bizType") String bizType,
                                    @Param("context") String context);

}
